package com.wenlin.myproduction.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author 文琳_377979485@qq.com
 * @time 2021/10/13 0013 上午 9:24
 * @desc 排班管理左侧列表的实体类
 */
public class ScheduleLeftBean implements Parcelable {
    private ScheduleRecordBean.ListsDTO listsDTO;

    public ScheduleLeftBean(ScheduleRecordBean.ListsDTO listsDTO) {
        this.listsDTO = listsDTO;
    }

    public ScheduleRecordBean.ListsDTO getListsDTO() {
        return listsDTO;
    }

    public void setListsDTO(ScheduleRecordBean.ListsDTO listsDTO) {
        this.listsDTO = listsDTO;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeParcelable(this.listsDTO, flags);
    }

    public void readFromParcel(Parcel source) {
        this.listsDTO = source.readParcelable(ScheduleRecordBean.ListsDTO.class.getClassLoader());
    }

    protected ScheduleLeftBean(Parcel in) {
        this.listsDTO = in.readParcelable(ScheduleRecordBean.ListsDTO.class.getClassLoader());
    }

    public static final Creator<ScheduleLeftBean> CREATOR = new Creator<ScheduleLeftBean>() {
        @Override
        public ScheduleLeftBean createFromParcel(Parcel source) {
            return new ScheduleLeftBean(source);
        }

        @Override
        public ScheduleLeftBean[] newArray(int size) {
            return new ScheduleLeftBean[size];
        }
    };
}
